package com.kh.pajx.sop.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.kh.pajx.sop.base.BaseDaoImpl;
import com.kh.pajx.sop.dao.IStockDevOutDetailDao;
import com.kh.pajx.sop.domain.stock.StockDevOutDetail;
@Repository
public class StockDevOutDetailDaoImpl extends BaseDaoImpl<StockDevOutDetail> implements IStockDevOutDetailDao{

	@Override
	public List<StockDevOutDetail> getBybillCode(Long billCode) {
		String hql="from StockDevOutDetail o where 1=1 and o.outBillcode='"+billCode+"'";
		return getSession().createQuery(hql).list();
	}

}
